﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CourseScheduling.DataAccess
{
    public class CSCourse:CSDataObject
    {
        public string Code
        {
            get
            {
                return SafeGetString(this["CourseNumber"]);
            }
            set
            {
                this["CourseNumber"] = value;
            }
        }

        public string Description
        {
            get
            {
                return SafeGetString(this["CourseName"]);
            }
            set
            {
                this["CourseName"] = value;
            }
        }

        public bool OddFall
        {
            get
            {
                return (bool)this["OddFall"];
            }
            set
            {
                this["OddFall"] = value;
            }
        }

        public bool EvenFall
        {
            get
            {
                return (bool)this["EvenFall"];
            }
            set
            {
                this["EvenFall"] = value;
            }
        }


        public bool OddSpring
        {
            get
            {
                return (bool)this["OddSpring"];
            }
            set
            {
                this["OddSpring"] = value;
            }
        }

        public bool EvenSpring
        {
            get
            {
                return (bool)this["EvenSpring"];
            }
            set
            {
                this["EvenSpring"] = value;
            }
        } 


    }
}